
<div class="lh-footer-box">
    <footer class="lh-footer">
        <div class="lh-content clearfix">
            <div class="lh-footer-l left">
                <a href="index.html" class="l-footer-logo"><img src="/picture/logo-bottom.png" /></a>
                <div class="lh-footer-phone"> <i class="iconfont icon-phone"></i>
                    <h2>4008-690-290</h2>
                    <h3>service line</h3>
                </div>
                <div class="lh-share-footer">
                    <div class="bshare-custom icon-medium">
                        <a title="分享到新浪微博" class="bshare-sinaminiblog"></a>
                        <a title="分享到腾讯微博" class="bshare-qqmb"></a>
                        <a title="分享到微信" class="bshare-weixin"></a>
                    </div>
                </div>
            </div>
            <div class="lh-footer-r right clearfix">
                <div class="lh-footer-a">
                    <dl class="lh-footer-dl">
                        <dt>嘉志导航</dt>
                        <dd>
                            <a href="#">产品中心</a>
                            <a href="#">定制案例</a>
                            <a href="#">定制攻略</a>
                            <a href="#">招商加盟</a>
                            <a href="#">实体门店</a>
                            <a href="#">新闻中心</a>
                            <a href="#">关于嘉志</a>
                            <a href="#">客服中心</a>
                        </dd>
                    </dl>
                    <h5 class="copy">Copyright © 2017  杭州嘉志装饰工程有限公司. All rights reserved</h5>
                </div>
                <div class="lh-footer-a">
                    <dl class="lh-footer-dl two">
                        <dt>关于嘉志</dt>
                        <dd><a href="#">公司简介</a><a href="#">企业文化</a><a href="#">发展历程</a><a href="#">工厂展示</a></dd>
                    </dl>
                    <h5 class="copy">技术支持：<a href="http://wpa.qq.com/msgrd?v=3&uin=835164047&site=qq&menu=yes" target="_blank">被困群众</a><script type="text/javascript">var cnzz_protocol = (("https:" == document.location.protocol) ? "https://" : "http://");document.write(unescape("%3Cspan id='cnzz_stat_icon_1278210078'%3E%3C/span%3E%3Cscript src='" + cnzz_protocol + "s9.cnzz.com/z_stat.php%3Fid%3D1278210078%26show%3Dpic' type='text/javascript'%3E%3C/script%3E"));</script></h5>
                </div>
                <div class="lh-footer-b"> <img src="/images/r_03.jpg" width="133" />
                    <h5>关注嘉志微信</h5>
                </div>
            </div>
        </div>
    </footer>
</div>
<!--右边浮动-->
<ul class="lh-float">
    <li>
        <a href="http://wpa.qq.com/msgrd?v=3&uin=809623800&site=qq&menu=yes" target="_blank"> <i class="iconfont icon-zuopinanli"></i>定制案例 </a>
    </li>
    <li>
        <a href="http://wpa.qq.com/msgrd?v=3&uin=809623800&site=qq&menu=yes" target="_blank"> <i class="iconfont icon-kefu"></i>在线客服 </a>
    </li>
    <li>
        <a> <i class="iconfont icon-erweima"></i>扫一扫 </a>
        <div class="lh-float-shadow"> <img src="/images/r_03.jpg" width="130" /> </div>
    </li>
    <li class="lhTop">
        <a href="javascript:window.scrollTo(0,0);;"> <i class="iconfont icon-fanhui"></i>回到顶部 </a>
    </li>
</ul>
<!--底部浮动-->
<div class="lh-free">
    <div class="lh-free-a"><img src="/picture/footer-a1.png" /></div>
    <div class="lh-free-b">
        <div class="lh-content clearfix">
            <div class="lh-free-l left"><img src="/picture/footer-a2.png" /></div>
            <div class="lh-free-r right clearfix">
                <div class="lh-free-d left">
                    <input type="text" placeholder="请输入姓名" id="ft_name" class="nonull" />
                    <input type="text" placeholder="请输入手机号码" id="ft_phone" class="nonull" />
                    <div class="lh-free-c clearfix">
                        <div class="lh-free-select">
                            <input type="text" placeholder="楼盘名称" id="ft_address" class="nonull" />
                        </div>
                        <div class="lh-free-select">
                            <input type="text" placeholder="楼盘面积" id="ft_measure_area" class="nonull" />
                        </div>
                    </div>
                </div>
                <input type="hidden" value="{{csrf_token()}}" id="ft_token" />
                <input class="left lh-free-submit" id="ft_applyBtn" type="button" value="提交"/>
                <a href="javascript:;" class="lh-free-close"><i class="iconfont icon-close"></i></a>
            </div>
        </div>
    </div>
</div>
<script type="text/javascript">
  var a = 0;
  $(window).scroll(function() {
    var s = $(this).scrollTop();
    if (a <= s) {
      $('.lh-free').addClass('on');
    } else {
      $('.lh-free').removeClass('on');
    }
    a = s;
  });
  $('.lh-free-close').on('click', function() {
    $('.lh-free-b').addClass('on');
    $('.lh-free-a').addClass('on');
  });
  $('.lh-free-a').on('click', function() {
    $('.lh-free-b').removeClass('on');
    $('.lh-free-a').removeClass('on');
  });
</script>
<script>
  $(function(){
    $('#ft_applyBtn').click(function(){
      $.ajax({
        url:'/apply',
        type:'post',
        data:{
          _token:$('#ft_token').val(),
          address:$('#ft_address').val(),
          measure_area:$('#ft_measure_area').val(),
          name:$('#ft_name').val(),
          phone:$('#ft_phone').val(),
        },
        success:function(data){
          alert(data.message)
        },
        error:function(err){
          var msgs = err.responseJSON.errors
          for (i in msgs){
            alert(msgs[i])
            break;
          }
        }
      })
    })
  })
</script>
